/**
 * 
 */
package org.gov.vis.master.controller;

import java.util.List;

import org.gov.vis.master.dto.OtherDto;

/**
 * @author Vishwanath
 *
 */
public interface OtherCtlr extends BaseCtlr{

		/**
	 * Method called to Add or Edit the Other
	 * @param otherDto
	 * @throws Exception
	 */
	public void addOrEditOther(final OtherDto _otherDto) throws Exception;
	
	/**
	 * Method called to delete the Other Object based on the passed other Id
	 * @param _otherId
	 * @throws Exception
	 */
	public void deleteOther(long _otherId) throws Exception;
	
	/**
	 * Method called to get the Other based on the passed Other Object
	 * @param otherDto
	 * @return
	 * @throws Exception
	 */
	public OtherDto getOther(final OtherDto _otherDto) throws Exception;
	
	/**
	 * Method called to get the list of Other based on the passed Other Object
	 * @param otherDto
	 * @return
	 * @throws Exception
	 */
	public List<OtherDto> getOthers(final OtherDto _otherDto) throws Exception;
	
	/**
	 * Method called to search for the Others based on the passed Other Object
	 * @param otherDto
	 * @return
	 * @throws Exception
	 */
	public List<OtherDto> searchOthers(final OtherDto _otherDto) throws Exception; 
	
	/**
	 * Method called to get the Other based on the passed primary key Id
	 * @param _otherId
	 * @return
	 * @throws Exception
	 */
	public OtherDto getOther(final long _otherId) throws Exception;
	
	/**
	 * Method called to get the Other based on the passed Code
	 * @param _otherCode
	 * @return
	 * @throws Exception
	 */
	public OtherDto getOtherOnCode(final String _otherCode) throws Exception;
	
	


}
